package com.example.text01;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.Button;
import android.os.Build;
import com.example.text02.*;
public class MainActivity extends Activity {

	private MainActivity02 mMainActivity02;
	private Button mBtnClick;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main01);
		mBtnClick = (Button) findViewById(R.id.click);
		mBtnClick.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				Intent intent = new Intent();
				intent.setClass(MainActivity.this, MainActivity02.class);
				startActivity(intent);
			}
		});
	}
}
